<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Carbon\Carbon;
class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
	    $data=[
	    	'id'=>1,
		    'name'=>'admin',
		    'email'=>'864290799@qq.com',
		    'password'=>bcrypt(123456),
		    'created_at' => Carbon::now(),
		    'updated_at' => Carbon::now(),
	    ];

	    DB::table('users')->insert($data);
    }
}
